package org.dromara.web.system.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.web.system.domain.AppServiceFeedback;

/**
 * 服务反馈业务对象 app_service_feedback
 *
 * @author Lion Li
 * @date 2025-09-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AppServiceFeedback.class, reverseConvertGenerate = false)
public class AppServiceFeedbackBo extends BaseEntity {

    /**
     * 反馈ID
     */
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 反馈内容
     */
    private String content;

    /**
     * 反馈图片，存储图片URL数组
     */
    @NotBlank(message = "反馈图片，存储图片URL数组不能为空", groups = { AddGroup.class, EditGroup.class })
    private String images;

    /**
     * 处理状态：0=未处理，1=处理中，2=已处理
     */
    @NotNull(message = "处理状态：0=未处理，1=处理中，2=已处理不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


}
